.my-orders {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: $main-background-color;
}

.top-tabs {
  display: flex;
  justify-content: space-around;
  width: 100%;
  padding: 10px 0;
  background-color: #fff;

  .tab {
    width: 4em;
    padding: 2px 0;
    text-align: center;
    border-bottom: 2px solid transparent;
    &.active {
      color: $main-color;
      border-color: $main-color;
    }
  }
}

.content-container {
  flex: 1;
  overflow: scroll;
}

.order-view {
  height: 100%;
  box-sizing: border-box;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
}

// order item
.order-item {
  margin: 20px 0;
  background-color: #fff;
}

.order-num {
  padding: 10px;
  font-size: 14px;
  color: $gray-font-color;
  border-bottom: 1px solid $border-color;
}

.content {
  display: flex;
  padding: 10px;
}

.preview {
  width: 200rpx;
  height: 200rpx;
  margin-right: 10px;
  background-color: rgb(126, 189, 194);
}

.info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.date {
  color: $gray-font-color;
  font-size: 14px;
}

.price {
  color: $main-color;
}

.ctrl-bar {
  display: flex;
  // justify-content: space-around;
  justify-content: flex-end;
  margin: 0 10px;
  // padding: 10px;
  padding: 10px 0;
  border-top: 1px solid $border-color;
  .ctrl-btn {
    padding: 8px 16px;
    // color: $main-color;
    border-radius: 5px;
    // border: 1px solid $main-color;
  }
}

.order-status {
  padding: 10px 0;
  margin: 0 10px;
  color: $font-color;
  font-size: 16px;
  border-top: 1px solid $border-color;
}
// order item end

// ex
.bottom-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.ctrl-btn.cancel {
  margin-right: 10px;
  color: #ffffff;
  background-color: #aaa;
}
.ctrl-btn.pay {
  color: #ff4d6c;
  border: 1px solid #ff4d6c;
}
